package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class User {
    private int id;
    private String username;
    private String password;
    private int employeeId;
    private int roleId;
    private UserStatus status;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime lastLogin;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String email;
}
